package com.liuyutao.service;

import com.liuyutao.pojo.Student;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface StudentService {
    List<Student> findAllStudent();
    Student findStudentById(Integer id);
    Student findStudentByName(String name);
    Student findStudentByNameAndAddress(String name,String address);
    void deleteStudentById(Integer id);
    void addStudent(Student student);
    void updateStudent(Student student);

}
